Repository navigation
fix(windows): choosing a sync provider through UI Automation no longer fails while the choice runs - #4710
Merged
Conversation
…r fails while the choice runs
datlechin
enabled auto-merge (squash)
November 29, 2026 00:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SelectionChangedreturns, posted withDispatcherQueue.TryEnqueue. The box was disabled inside its own selection change, so a UI AutomationSelectionItem.Selectfailed withUIA_E_ELEMENTNOTENABLED(0x80040200) even though the choice went through and the plan gate opened.SyncSettingsView.choose) andwindows/docs/decisions/0029-tablepro-sync.md: TablePro Sync stays enabled while signed out, choosing it shows "TablePro Sync needs a paid plan", and the box goes back to Off. The test is right, so it is unchanged.SettingsShowSyncOffAndTableProSyncAsksForAPlanWhileSignedOutcame in with feat(windows): TablePro Sync settings, status and end-to-end encryption #4651 and never passed: that PR's app build failed, and every run since fix(windows): settings cards set Content only when there is one #4693 fixed the build failed this test on x64 and Arm64.Test plan
SettingsShowSyncOffAndTableProSyncAsksForAPlanWhileSignedOutfails in Light and Dark with the CI error. After: the 3 tests inAccountSettingsTests.cspass in Light and Dark (6 of 6).Selectruns;Selectthrows, but the plan dialog opens. Disabling only the box insideSelectionChangedis enough to makeSelectthrow. With this change,Selectreturns, the dialog opens and the box is disabled while it shows.windows / Windows (x64)andwindows / Windows (Arm64)run the full UI suite on the Native AOT publish.